package com.laan.bmagame;

import android.app.Activity;
import android.os.Bundle;

public class LaanGame extends Activity {
	/** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.game);
        
        GV.Instancies.laangamesv = (LaanGameSV) findViewById(R.id.game_surface);
	}

	@Override
	protected void onPause() {
		GV.Instancies.laangamesv.stopthread();
		super.onPause();
	}

	@Override
	protected void onResume() {
		GV.Instancies.laangamesv.startthread();
		super.onResume();
	}
	
	@Override
	public void onBackPressed() {
		finish();
		//activity transition animation
		super.onBackPressed();
	}
}